<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="#">
        <div>
            <label for="xingming">姓名：</label>
            <input id="xingming" type="text">
        </div>
        <div>
            <label for="">性别：</label>
            <label for="nan">男</label>
            <input id="nan" type="radio" name="bie">
            <label for="nv">女</label>
            <input id="nv" type="radio" name="bie">
        </div>
        <label for="nianling">年龄：</label>
        <input id="nianling" type="text">
        <div>
            <p>喜欢什么水果：</p>
            <label for="pingguo">苹果</label>
            <input id="pingguo" type="checkbox" name="shui">
            <label for="xiangjiao">香蕉</label>
            <input id="xiangjiao" type="checkbox" name="shui">
            <label for="boluo">菠萝</label>
            <input id="boluo" type="checkbox" name="shui">
            <label for="quta">其他</label>
            <input id="quta" type="checkbox" name="shui">
        </div>
        <input type="submit" value="提交">
    </form>
</body>
</html>